package com.hfh.newPattern;

/**
 * @Author hfh
 * @Date 2022 09 16 14 21
 **/
public abstract class Coffee {
    public abstract String getName();
    //加糖
    public void addsugar(){
        System.out.println("加糖");
    }

    //加奶
    public void addMilke(){
        System.out.println("加奶");
    }
}
